//
//  TypePHCollectioCell.m
//  LiWuShuo
//
//  Created by 袁小航 on 14/11/15.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "TypePHCollectioCell.h"
#import "Define.h"
@implementation TypePHCollectioCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.phImage = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, TYPE_PH_IMAGE_WIDTH, TYPE_PH_IMAGE_WIDTH)];
        [self.contentView addSubview:_phImage];
        
        
        self.phName = [[UILabel alloc]initWithFrame:CGRectMake(0, TYPE_PH_IMAGE_WIDTH + 5, TYPE_PH_IMAGE_WIDTH, TYPE_PH_NAME_HEIGHT)];
        _phName.font = [UIFont systemFontOfSize:13];
        _phName.textAlignment = YES;
        
        [self.contentView addSubview:_phName];
        
    }
    return self;
}

@end
